﻿<!DOCTYPE html>
<html>
<head>
    <title>GetSatisfaction Helper for WebMatrix - Start Here</title>
    <link href="content/Site.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
</head>
<body>
    <div class="container">
        <div class="header">
            <img src="content/images/webx-icon.png" alt="WebMatrix" />
            <img src="content/images/getsatisfaction-logo.png" alt="GetSatisfaction Logo" width="200px" class="partnerLogo" />
            <h1>
                WebMatrix Helpers</h1>
            <h2>
                GetSatisfaction Helper - Start Here</h2>
        </div>
        <div class="content">
            <div class="navLinks">
                <a href="startHere.htm">Start Here</a> | <a href="reference.htm">Helper Reference</a>
            </div>
            <h3>
                Introduction</h3>
            <p>
                Microsoft WebMatrix provides an easy way to get started with web development, and
                together with new Razor syntax for ASP.NET Web Pages it includes everything you
                need to get your web site up, running and integrated with many other sites and networks,
                in a short period of time. The WebMatrix helpers are designed to make your life
                easier when creating web sites. They provide you a simple and consistent way of
                performing common web development tasks that otherwise would require a great deal
                of custom coding. With a few lines of code you should be able to secure your web
                site using membership, store information in Windows Azure Storage, integrate your
                site with Facebook, among others things.
            </p>
            <p>
                The <strong>GetSatisfaction Helper</strong> for WebMatrix allows you to easily integrate GetSatistaction feedback functionality into your site. It provides 
                a set of widgets for your users to share their ideas, questions, problems, and praises.
            </p>
            <img src="content/images/getsatisfaction-helper.png" height="250" class="centeredImage" alt="GetSatisfaction Helper" />
            <h3>
                Getting Started in 60 Seconds</h3>
            <p>
                The helper mainly consists of a <strong>GetSatisfaction.cshtml</strong> file that should be placed in the <strong>App_Code</strong> folder of your WebMatrix site. 
                To use the helper follow these steps:
            </p>
            <ol>
                <li>If you haven't got an account, <a href="http://getsatisfaction.com/people/new">sign up</a> 
                to start a free community. Once you’ve done, navigate to the <strong>Profile Information</strong> and take note of the company name specified 
                in the "Get Satistaction URL" field:<br />
                Example: <i>http://getsatisfaction.com/people/<strong>your_company_name</strong></i></li>                
                <li>Add the following line to the <strong>_AppStart.cshtml</strong> page of your WebMatrix
                    site, replacing the placeholder with your company name.
                    <pre class="code">
@{
    GetSatisfaction.Initialize("{your_company_name}");  
}</pre>
                </li>
                <li>In any WebMatrix page, add the following line to show a GetSatistaction feedback tab in your page.
                    <pre class="code">
@GetSatisfaction.GetFeedbackTabWidget()
</pre>
                </li>
            </ol>
            <h3>
                Running the GetSatisfaction Helper Sample</h3>
            <p>
                Optionally, you can download a sample WebMatrix web site based on the Bakery template, where you can see the helper in action. 
                To download and run it with Microsoft WebMatrix, follow these steps:</p>
            <ol>
                <li>Download the sample site from the helper's <a href="http://gsatisfactionhelper.codeplex.com">Codeplex</a> site. Extract the contents and open the folder in WebMatrix.</li>
                <li>Complete your GetSatisfaction company name in the <strong>_AppStart.cshtml</strong> page.</li>
                <li>Run the sample! It contains code samples and examples of each feature provided by the helper.</li>
            </ol>
            <h3>
                Other Useful Resources</h3>
            <p>
                Don't miss the helper's <a href="http://www.youtube.com/watch?v=SGMP_Q6f0v8">getting started screencast</a>.
            </p>
            <p>
                You can find more information about GetSatisfaction in <a href="http://getsatisfaction.com/explore/introduction">http://getsatisfaction.com/explore/introduction</a>.
            </p>
            <p>
                Learn more on WebMatrix, ASP.NET Web Pages and the Razor Syntax <a href="http://www.microsoft.com/web/webmatrix/learn/">
                    with the WebMatrix tutorials</a>.
            </p>
        </div>
        <ul class="footer">
            <li>We're always looking for <a href="mailto:webapp@microsoft.com">bugs, feedback and
                suggestions!</a></li>
            <li>&copy; 2010-2011 Microsoft Corporation. Powered by IIS Express.</li>
        </ul>
    </div>
</body>
</html>
